<!DOCTYPE html>
<html>
<base href="http://localhost/github/201507lanbao/" />
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
</head>
<body>
<div>access_token: {$access_token['access_token']}</div>
<div>expires_in: {$access_token['expires_in']}</div>
<div>token_type: {$access_token['token_type']}</div>
<div>scope: {$access_token['scope']}</div>

<form enctype="multipart/form-data"  action="api.php/File/upload?access_token={$access_token['access_token']}" method="post">

    <input type="text" name="uid" >
    <input type="text" name="type" value="avatar" >

    <input type="file" name="image" >

    <button type="submit">上传文件</button>
</form>


</body>
</html>